#ifndef  __RELAY_DRIVER_H__
#define  __RELAY_DRIVER_H__


#ifdef   RELAY_DRIVER_GLOBALS
#define  RELAY_DRIVER_EXT
#else
#define  RELAY_DRIVER_EXT  extern
#endif

/* 电机 */
typedef enum
{
    EXCV_MOTOR=0,
    EXCI_MOTOR=1,
    EXCI2_MOTOR=2,
    BUILDVOL_MOTOR=3,
    EXCV2_MOTOR=4,
    SUM_MOTOR=5,
}MOTORTYPE;

typedef enum
{
    motorStop=0,//停止
    motorFOR=1,//正转
    motorREV=2,//反转
}MotorAction;

void motorTurn(MOTORTYPE motor,MotorAction normal);
#endif